//redis 并发锁
const dbase = require("../dbase")

class locks extends dbase.branch.locks {
    constructor(branch,name,expire){
        super(branch,name,expire);
    }
}

module.exports = function(branch,name,expire){
    return new locks(branch,name,expire);
}